package biopepa;

import java.util.*;

public class NewLaw {
	public  String lawOf;
	public String lawOfwithLoc;
	public  String lawExpression;
	public boolean isUsed;
	public HashMap<String , NewParameter > parameters;
	public boolean isFMA;
	public boolean isFMM;
	public NewSpecies reactant; //only used in fMA and fMM
	public NewSpecies product;  //only used in fMA and fMM
	public NewSpecies enzime;   //only used in fMA and fMM
	public ArrayList<NewSpecies> reactsAndMods;
	public ArrayList<Integer> stoichs;
	public String parameter1;  //only used in fMA and fMM
	public String parameter2;  //only used in fMA and fMM
	public int stoich1;
	public int stoich2;
	public NewLocation location;

	
	public NewLaw(String name, String expression , BiopepaModel model){
		lawOf = name;
		lawExpression = expression;
		isUsed = false;
		HashMap<String , NewParameter > parameters = new HashMap<String , NewParameter >();
		isFMA = false;
		isFMM = false;
		reactsAndMods = new ArrayList<NewSpecies>();
		stoichs = new ArrayList<Integer>();
		location = new NewLocation(model);
	}
	
	public NewLaw(String name , BiopepaModel model){
		lawOf = name;
		isUsed = false;
		HashMap<String , NewParameter > parameters = new HashMap<String , NewParameter >();
		isFMA = false;
		isFMM = false;
		reactsAndMods = new ArrayList<NewSpecies>();
		stoichs = new ArrayList<Integer>();
		location = new NewLocation(model);
	}
	
	public String getName(){
		return lawOf;
	}

}
